using System.Collections;
using System.Collections.Generic;

namespace SyncUdp.MethodExtension
{
    using SyncUdp.Interface;
    using System;

    public static class ISingletonExtensions
    {
        public static T GetInstance<T>(this ISingleton singleton) where T : class, ISingleton
        {
            return IOCContainer.GetInstance<T>();
        }
    }
}